/**
 * Copyright (C), 2015-2018, XXX有限公司
 * FileName: OrderStatusEnum
 * Author:   Administrator
 * Date:     2018/4/29 0029 21:04
 * Description: 订单状态
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.imooc.enums;

import lombok.Getter;

/**
 * 〈一句话功能简述〉<br> 
 * 〈订单状态〉
 *
 * @author Administrator
 * @create 2018/4/29 0029
 * @since 1.0.0
 */
@Getter
public enum OrderStatusEnum {

    NEW(0, "新订单"),
    FINISHED(1, "完结"),
    CANCEL(2, "已取消");

    private Integer  code;
    
    private String msg;

    OrderStatusEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
